
import Layout from '@/layout'

export default {
  // 一级路由的地址
  path: '/questionBank',
  // 是用布局作为组件
  component: Layout,
  // 【名称，非常的重要，有可能是作为权限的筛选标识】
  name: 'questionBank',
  meta: { title: '题库管理', icon: 'table' },
  children: [
    {
      path: '',
      component: () => import('@/views/questionBank/basicQuestion'),
      name: 'basicQuestion',
      meta: {
        title: '基础题库',
        icon: 'table'
      }
    },
    {
      path: 'basic-form',
      name: 'basic-form',
      component: () => import('@/views/questionBank/basic-form'),
      meta: {
        title: '精选题库',
        icon: 'table'
      }
    },
    {
      path: 'step-form',
      name: 'step-form',
      component: () => import('@/views/questionBank/step-form'),
      meta: {
        title: '试题录入',
        icon: 'table'
      }
    },
    {
      path: 'senior-form',
      name: 'senior-form',
      component: () => import('@/views/questionBank/senior-form'),
      meta: {
        title: '组题列表',
        icon: 'table'
      }
    }
  ]
}
